package com.pioneer.web.client.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.pioneer.common.core.domain.BaseEntity;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 *
 * @TableName cli_address
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value ="cli_address")
@Data
public class CliAddress extends BaseEntity implements Serializable {
    /**
     * 地址id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    private Long clientId;

    /**
     * 省
     */
    private String province;

    /**
     * 市
     */
    private String city;

    /**
     * 区
     */
    private String district;

    /**
     * 收件人
     */
    @TableField(condition = SqlCondition.LIKE)
    private String consignee;

    /**
     * 联系电话
     */
    private String phone;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
